#include <iostream>
#include <stack>
#include <vector>
using namespace std;
int main()
{
  stack<int> s1;
  s1.push(1);
  s1.push(1);
  s1.push(1);
  while(!s1.empty())
  {
    cout<<s1.top()<<endl;
    s1.pop();
  }

  return 0;
}
